package com.itheima.sc.api.sms;

import com.itheima.sc.pojo.sms.HomeRecommendSubject;
import com.itheima.sc.vo.PageResult;

import java.util.List;

public interface SmsHomeRecommendSubjectApi {

    //添加首页推荐
    void addRecommendSubjects(List<HomeRecommendSubject> recommendSubjects);

    //批量删除首页推荐
    void deleteRecommendSubjects(List<Long> ids);

    //分页查询首页推荐
    PageResult selectRecommendSubjectList(Integer page, Integer pageSize, Integer recommendStatus, String SubjectName);
    //批量修改首页推荐的状态
    void updateRecommendSubjectStatus(List<Long> ids, Integer status);
    //修改首页推荐
    void updateRecommendSubjectSort(HomeRecommendSubject RecommendSubject);
}
